Inlining always reduces the number of instructions executed (since at a minimum the call and return instructions are not executed), but it can (and often does), make the resulting code bigger.
内联总是减少指令执行的数量(这是由于最低限度的调用和返回指令没有被执行),但是它能(并经常)让结果代码变得很大。
The instruction decoder integrates a large number of instructions.
指令译码器集成丰富的指令集;
In general, the greater the number of instructions set, the larger the propagation delay is within the CPU.
总的来说,指令集中的指令数越多,CPU中的传播延迟越大。
That is, it's at most the length of the actual number of instructions.
也就是,它至多会执行,和实际指令数一样多的指令。
Remember last time, I said that there's different kinds of complexity in our code, and I suggested for simple branching programs, the amount of time it takes to run that program is, in essence, bounded by the number of instructions, because you only execute each instruction at most once.
但是这里有个很重要的点,记得上节课,我提过在我们的代码中,有不同种类的复杂度,而且我还说了对于简单的分支程序,运行这种程序需要的总体时间,大体上,是和指令的数目相关的,因为每个指令只会被执行最多一次。
应用推荐